Eclipse Platform
Pre-release 3.0

org.eclipse.ui.views.properties
Class FilePropertySource

java.lang.Object
  extended byorg.eclipse.ui.views.properties.ResourcePropertySource
      extended byorg.eclipse.ui.views.properties.FilePropertySource
All Implemented Interfaces:
org.eclipse.ui.views.properties.IPropertySource

public class FilePropertySource
extends ResourcePropertySource

The FilePropertySource gives the extra information that is shown for files


Field Summary
 
Fields inherited from class org.eclipse.ui.views.properties.ResourcePropertySource
element, errorMessage, FILE_NOT_EXIST_TEXT, FILE_NOT_FOUND, NOT_LOCAL_TEXT, propertyDescriptors, propertyDescriptorsLinkVariable, UNDEFINED_PATH_VARIABLE
 
Constructor Summary
FilePropertySource(IFile file)
          Creates an property source for a file resource.
 
Method Summary
 org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
           
 Object getPropertyValue(Object key)
           
 
Methods inherited from class org.eclipse.ui.views.properties.ResourcePropertySource
getEditableValue, getFile, isPropertySet, resetPropertyValue, setPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePropertySource

public FilePropertySource(IFile file)
Creates an property source for a file resource.

Parameters:
file - the file resource
Method Detail

getPropertyDescriptors

public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyDescriptors in class ResourcePropertySource

getPropertyValue

public Object getPropertyValue(Object key)
Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyValue in class ResourcePropertySource

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.